<template>
    <a-modal
        :bodyStyle="{maxHeight: '70vh', overflowY: 'auto' }"
        :destroyOnClose="true"
        :title="title"
        :width="width"
        :visible="visible"
        :maskClosable="true"
        v-drag
        @ok="ok"
        @cancel="cancel"
        cancelText="关闭"
        :ok-button-props="{ props: { shape:'round'} }"
        :cancel-button-props="{ props: { shape:'round'} }">
        
        <div>

            111
        </div>
       
    </a-modal>
</template>

<script>

export default {
    name:'eqQrCode',
    components:{LForm},
    props:{ },
    data(){
        return{
            visible:false,
            title:'二维码',
            width:800,

        }
    },
    created(){
        
    },
    methods:{
        ok(){
            this.visible=false
            this.$destroyAll();
        },
        cancel(){
            this.visible=false
            this.$destroyAll();
        },
        /**
         * 获取form对象
         */
        getForm(){
            return this.$refs.LForm.form
        },
        changeEventHandler(changeItem){
            this.$emit('changeEventHandler',changeItem);
        },
        clickEventHandler(field,form){
            this.$emit('clickEventHandler',field,form);
        }
       
    }
}
</script>